package net.sunofbeaches.services;

import net.sunofbeaches.pojo.FriendLink;
import net.sunofbeaches.response.ResponseResult;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public interface FriendLinkService {

    ResponseResult addFriendLink(FriendLink fileLock);

    ResponseResult deleteFriendLink(String friendLinkId);

    ResponseResult updateFriendLink(String friendLinkId, FriendLink friendLink);

    ResponseResult listFriendLinks();

    ResponseResult getFriendLink(String friendLinkId);
}
